
all: yuyv-480p30 yuyv-480p5 yuyv-240p15 yuyv-240p5

yuyv-480p30: yuyv-480p30.cpp 
	g++ -o $@ $^ `pkg-config --cflags --libs gstreamer-1.0`

yuyv-480p5: yuyv-480p5.cpp 
	g++ -o $@ $^ `pkg-config --cflags --libs gstreamer-1.0`

yuyv-240p15: yuyv-240p15.cpp 
	g++ -o $@ $^ `pkg-config --cflags --libs gstreamer-1.0`

yuyv-240p5: yuyv-240p5.cpp 
	g++ -o $@ $^ `pkg-config --cflags --libs gstreamer-1.0`

clean:
	rm -rf yuyv-480p30
	rm -rf yuyv-480p5
	rm -rf yuyv-240p15
	rm -rf yuyv-240p5
